package com.spt.springbootzhsx.mapper;

import com.spt.springbootzhsx.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface CommentMapper {
    ArrayList<Comment> getCommentByMid(Integer mid);
    ArrayList<Comment> getCommentByUid(Integer uid);
    int addComment(Comment comment);
    int deleteComment(Integer coid);
}
